package com.eastfair.auth.dto;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.eastfair.core.base.entity.Entity;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;
import com.eastfair.core.base.entity.SuperEntity;
import lombok.Data;
import lombok.Builder;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.AllArgsConstructor;
import lombok.ToString;
import lombok.experimental.Accessors;
import com.eastfair.auth.enumeration.OrganizationOrgTypeEnum;
import com.eastfair.auth.enumeration.OrganizationVestTypeEnum;
import java.io.Serializable;

/**
 * <p>
 * 实体类
 * 
 * </p>
 *
 * @author ligang
 * @since 2023-04-24
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Accessors(chain = true)
@ToString(callSuper = true)
@EqualsAndHashCode(callSuper = false)
@Builder
@ApiModel(value = "OrganizationUpdateDTO", description = "")
public class OrganizationUpdateDTO implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键")
    @NotNull(message = "请填写主键", groups = SuperEntity.Update.class)
    private Long id;

    /**
     * 组织名称
     */
    @ApiModelProperty(value = "组织名称")
    @Size(max = 255, message = "组织名称长度不能超过255")
    private String name;
    /**
     * 组织类型#{P:厦门智慧场馆;P_VENUE:场馆业务管理系统;P_CERTIFICATE:证件管理系统;P_COMPOSITE_VENUE:综合-场馆管理; P_COMPOSITE_COURT:综合-主场管理;P_COMPOSITE_PRODUCER:综合-搭建商管理;P_COMPOSITE_TRANSPORT:综合-主运管理;P_COMPOSITE_TRADE:综合-商旅管理;P_COMPOSITE_MATING:综合-配套商管理;P_PAY:支付系统;P_EXHIBITOR_SELF:展商自服务;P_CATERINGAPP:餐饮小程序;P_CATERING:餐饮后台服务;P_PORTAL_OUT_VENUE:对外门户-场馆后台;P_PORTAL_OUT_OPERATION:对外门户-运营后台;P_PORTAL_IN_WORK:内部门户-工作后台;P_PORTAL_IN_WORKAPP:内部门户-工作APP;P_OPERATION_CENTER:智慧运营中心系统;P_VISITOR_FRONT:访客前台系统;P_VISITOR_BACK:访客后台系统;P_R_EXHIBITOR:展商组;P_R_SPONSOR:主办组;P_R_BUILDER:搭建商组;P_R_COURT:主场组;P_R_TRANSPORT:主运组;P_R_BOOKING:场馆方组;P_R_REPAST:餐饮方组;EXHIBITOR:展商;EXHIBITOR_STAFF:展商员工;SPONSOR:主办;SPONSOR_STAFF:主办员工;BUILDER:搭建商;BUILDER_STAFF:搭建商员工;COURT:主场;COURT_STAFF:主场员工;TRANSPORT:主运;TRANSPORT_STAFF:主运员工;BOOKING:场馆方;BOOKING_STAFF:场馆方员工;REPAST:餐饮方;REPAST_STAFF:餐饮方员工;STAFF:员工;OTHER:其他}
     */
    @ApiModelProperty(value = "组织类型#{P:厦门智慧场馆;P_VENUE:场馆业务管理系统;P_CERTIFICATE:证件管理系统;P_COMPOSITE_VENUE:综合-场馆管理; P_COMPOSITE_COURT:综合-主场管理;P_COMPOSITE_PRODUCER:综合-搭建商管理;P_COMPOSITE_TRANSPORT:综合-主运管理;P_COMPOSITE_TRADE:综合-商旅管理;P_COMPOSITE_MATING:综合-配套商管理;P_PAY:支付系统;P_EXHIBITOR_SELF:展商自服务;P_CATERINGAPP:餐饮小程序;P_CATERING:餐饮后台服务;P_PORTAL_OUT_VENUE:对外门户-场馆后台;P_PORTAL_OUT_OPERATION:对外门户-运营后台;P_PORTAL_IN_WORK:内部门户-工作后台;P_PORTAL_IN_WORKAPP:内部门户-工作APP;P_OPERATION_CENTER:智慧运营中心系统;P_VISITOR_FRONT:访客前台系统;P_VISITOR_BACK:访客后台系统;P_R_EXHIBITOR:展商组;P_R_SPONSOR:主办组;P_R_BUILDER:搭建商组;P_R_COURT:主场组;P_R_TRANSPORT:主运组;P_R_BOOKING:场馆方组;P_R_REPAST:餐饮方组;EXHIBITOR:展商;EXHIBITOR_STAFF:展商员工;SPONSOR:主办;SPONSOR_STAFF:主办员工;BUILDER:搭建商;BUILDER_STAFF:搭建商员工;COURT:主场;COURT_STAFF:主场员工;TRANSPORT:主运;TRANSPORT_STAFF:主运员工;BOOKING:场馆方;BOOKING_STAFF:场馆方员工;REPAST:餐饮方;REPAST_STAFF:餐饮方员工;STAFF:员工;OTHER:其他}")
    private OrganizationOrgTypeEnum orgType;
    /**
     * 组织类型归属#{P:项目;R:资源;E:展会;}
     */
    @ApiModelProperty(value = "组织类型归属#{P:项目;R:资源;E:展会;}")
    private OrganizationVestTypeEnum vestType;
    /**
     * 组织code码
     */
    @ApiModelProperty(value = "组织code码")
    @Size(max = 255, message = "组织code码长度不能超过255")
    private String code;
    /**
     * 父级id
     */
    @ApiModelProperty(value = "父级id")
    private Long parentId;
    /**
     * 华为同步机构id
     */
    @ApiModelProperty(value = "华为同步机构id")
    @Size(max = 255, message = "华为同步机构id长度不能超过255")
    private String huaweiOrgId;
    /**
     * 租户id
     */
    @ApiModelProperty(value = "租户id")
    private Long tenantId;
    /**
     * 项目id
     */
    @ApiModelProperty(value = "项目id")
    private Long projectId;
    /**
     * 子系统id
     */
    @ApiModelProperty(value = "子系统id")
    private Long subsystemId;
    /**
     * 团队id
     */
    @ApiModelProperty(value = "团队id")
    private Long teamId;
    /**
     * 排序
     */
    @ApiModelProperty(value = "排序")
    private Integer sequence;
    /**
     * 是否生效(默认1：可用 0:不可用)
     */
    @ApiModelProperty(value = "是否生效(默认1：可用 0:不可用)")
    private Integer isEnabled;
    /**
     * 是否删除(默认0：未删除 1:已删除)
     */
    @ApiModelProperty(value = "是否删除(默认0：未删除 1:已删除)")
    private Integer isDeleted;
}
